package org.jash;

/**
 * Created by Jash
 */
public class Demo {
    public static void main(String[] args) {
//        User user = new User();
//        System.out.println(user.getUsername());
//        System.out.println(user.getPassword());
//        user.setAge(1);
//        System.out.println("user.getAge() = " + user.getAge());
//        user.setAge(-10);
//        System.out.println("user.getAge() = " + user.getAge());
//        System.out.println(JavaInter.i);
        JPerson person = new JPerson("张三", 20, "男");
        JPerson p1 = new JPerson("张三", 20, "男");
        System.out.println(person);
        System.out.println(person.equals(p1));
        System.out.println(person.getName());
    }
}
